package com.kl.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kl.entity.TbAreas;
import com.kl.mapper.TbAreasMapper;
import com.kl.service.ITbAreasService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 行政区域县区信息表 服务实现类
 * </p>
 *
 * @author author
 * @since 2021-11-03
 */
@Service
public class TbAreasServiceImpl extends ServiceImpl<TbAreasMapper, TbAreas> implements ITbAreasService {
    @Autowired
    private TbAreasMapper tbAreasMapper;
    @Override
    public List<TbAreas> select(Map<String, Object> map) {
        return tbAreasMapper.selectByMap(map);
    }
}
